﻿using System;
using System.Collections.Generic;
using DomenModel;


namespace Model.Service
{
    public interface IAdministratorService
    {
        List<Role> GetRoles();
        List<User> GetPaginationListOfUsers(int page, int itemOnPage, string t);
        List<User> GetPaginationWithFilter(int page, int itemsOnPage, string orderUsersBy, string searchString, string listSelectField, string listSelectCondition);
        bool CreateUser(User user);
        bool EditUser(User user);
        User GetUser(string loginName);
        bool DeactivateUser(string loginName);
        long GetCountOfUsers();
        long GetCountOfUsers(string searchString, string listSelectField, string listSelectCondition);

    }
}
